package cn.edu.cuit.elena.common;

public class SackConstants
{
    /**
     * Events.
     * */
    public static final int FAILURE = 0;
    public static final int SUCCESS = 1;
    
    /**
     * Characters.
     * */
    public static final String EQUAL_SIGN = "=";
    
    
    /**
     * Numbers.
     * */
    public static int MAX_CONNECTION_NUM = 10;

    /**
     * Pathes.
     * */
    public static final String USER_CONFIGURATION_FILE_ROOT_DIRECTORY = "userConf/";
    public static final String SYSTEM_CONFIGURATION = "system.ini";
    public static final String ORALCE_CONFIFURATION = "dbConf/ORACLE";
    public static final String MYSQL_CONFIFURATION = "dbConf/MYSQL";
    
    
    
    public enum DATABASE
    {
        //Currently, Elena just support ORACLE, MYSQL.
        ORACLE( 1 ), MYSQL( 2 );

        private int id;

        DATABASE(int id)
        {
            this.id = id;
        }

        public int id()
        {
            return id;
        }
    }
}